package com.mywang.weitravel.modules.find;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.FindListBean;

/**
 * Created by wangmingyun on 2019/12/5.
 */
public interface FindContract {

    interface View extends BaseContract.IView {
        void getFindListSuccess(FindListBean findListBean);

        void getFindListError();

        void collectSuccessful(String findId);
    }

    interface Presenter extends BaseContract.IPresenter<FindContract.View> {
        void getFindList(int page);

        void collect(String findId);
    }
}
